home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14726 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: druid.borland.com!usenet
  2. From: mstave@wpo.borland.com (Matt Stave)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: BC++5.0 Great! <NOT>
  5. Date: Mon, 01 Apr 1996 20:06:36 GMT
  6. Organization: Borland International
  7. Message-ID: <4jpd1t$ro7@druid.borland.com>
  8. References: <315BEEBB.1261@mailport.delta-air.com>
  9. NNTP-Posting-Host: mstave2.borland.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. William,
  13.  
  14. Could it be that you forgot #include <iostream.h>?
  15.  
  16. I entered your code, added the #include and typed:
  17.  
  18. bcc32 prog.cpp
  19.  
  20. and it ran fine.  What are you doing differently?
  21.  
  22. --- Matt
  23.  
  24. "William E. Sadler" <William.Sadler@mailport.delta-air.com> wrote:
  25.  
  26. >Try this one folks:
  27.  
  28. >do the standard hello world:
  29.  
  30. >main()
  31. >{
  32. >    cout << "Hello, World" << endl;
  33. >}
  34.  
  35. >This will compile.  Now, include the STL routine for a string, and cout the
  36. >string that contains hello world.  No dice.
  37.  
  38. >Sad, isn't it.  I sold a 1000 shares of borland yesterday.  Happy!  I
  39. >doubled my money.  But when word abou this buggy compiler gets out in the
  40. >mainstream 'puter press, I betcha they're gonna tumble.
  41.  
  42. >I've loved borland, but they've finally driven me to MSVC.  Sigh...
  43.  
  44.  
  45. >-- 
  46. >/***************************************************************************/
  47. >/* William E. Sadler                 | e-mail: wes@wesgroup.com            */
  48. >/*                                   | pots  : 770-465-9960                */
  49. >/***************************************************************************/
  50. >/* To thine own self be true, keep your honor, be bold and remember:       */
  51. >/* The only things in the middle of the road are broken yellow lines, and  */
  52. >/* squished possums.                                                       */
  53. >/***************************************************************************/
  54.  
  55.  
  56.